package com.beiming.libra.domain.dto.responsedto;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @Auther: tyrion
 * @Date: 2018/6/7 14:34
 * @类描述: 案件调解返回实体封装
 */
public class AnswerResponseDTO implements Serializable {

  /**
   * 仲裁案件问题表id
   */
  @ApiModelProperty(value = "仲裁案件问题表id", required = false, hidden = false)
  private String problemId;

  /**
   *  答案
   */
  @ApiModelProperty(value = "答案", required = false, hidden = false)
  private String answer;

  /**
   * 回答人id
   */
  @ApiModelProperty(value = "回答人id", required = false, hidden = false)
  private String userId;

  /**
   *  回答人姓名
   */
  @ApiModelProperty(value = "回答人姓名", required = false, hidden = false)
  private String userName;

  /**
   *  回答人案件角色编码
   */
  @ApiModelProperty(value = "回答人案件角色编码", required = false, hidden = false)
  private String userType;

  /**
   *  回答人案件角色名称
   */
  @ApiModelProperty(value = "回答人案件角色名称", required = false, hidden = false)
  private String userTypeName;

  /**
   *  创建时间
   */
  @ApiModelProperty(value = "创建时间", required = false, hidden = false)
  private Date createTime;

  public String getCreateTime() {
    SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
    return simpleDateFormat.format(this.createTime);
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public String getProblemId() {
    return problemId;
  }

  public void setProblemId(String problemId) {
    this.problemId = problemId;
  }

  public String getAnswer() {
    return answer;
  }

  public void setAnswer(String answer) {
    this.answer = answer;
  }

  public String getUserId() {
    return userId;
  }

  public void setUserId(String userId) {
    this.userId = userId;
  }

  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }

  public String getUserType() {
    return userType;
  }

  public void setUserType(String userType) {
    this.userType = userType;
  }

  public String getUserTypeName() {
    return userTypeName;
  }

  public void setUserTypeName(String userTypeName) {
    this.userTypeName = userTypeName;
  }
}
